using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class ExportSolutionRequest : OrganizationRequest
	{
		public string SolutionName
		{
			get
			{
				if (base.Parameters.Contains("SolutionName"))
				{
					return (string)base.Parameters["SolutionName"];
				}
				return null;
			}
			set
			{
				base.Parameters["SolutionName"] = value;
			}
		}
		public bool Managed
		{
			get
			{
				return base.Parameters.Contains("Managed") && (bool)base.Parameters["Managed"];
			}
			set
			{
				base.Parameters["Managed"] = value;
			}
		}
		public string TargetVersion
		{
			get
			{
				if (base.Parameters.Contains("TargetVersion"))
				{
					return (string)base.Parameters["TargetVersion"];
				}
				return null;
			}
			set
			{
				base.Parameters["TargetVersion"] = value;
			}
		}
		public bool ExportAutoNumberingSettings
		{
			get
			{
				return base.Parameters.Contains("ExportAutoNumberingSettings") && (bool)base.Parameters["ExportAutoNumberingSettings"];
			}
			set
			{
				base.Parameters["ExportAutoNumberingSettings"] = value;
			}
		}
		public bool ExportCalendarSettings
		{
			get
			{
				return base.Parameters.Contains("ExportCalendarSettings") && (bool)base.Parameters["ExportCalendarSettings"];
			}
			set
			{
				base.Parameters["ExportCalendarSettings"] = value;
			}
		}
		public bool ExportCustomizationSettings
		{
			get
			{
				return base.Parameters.Contains("ExportCustomizationSettings") && (bool)base.Parameters["ExportCustomizationSettings"];
			}
			set
			{
				base.Parameters["ExportCustomizationSettings"] = value;
			}
		}
		public bool ExportEmailTrackingSettings
		{
			get
			{
				return base.Parameters.Contains("ExportEmailTrackingSettings") && (bool)base.Parameters["ExportEmailTrackingSettings"];
			}
			set
			{
				base.Parameters["ExportEmailTrackingSettings"] = value;
			}
		}
		public bool ExportGeneralSettings
		{
			get
			{
				return base.Parameters.Contains("ExportGeneralSettings") && (bool)base.Parameters["ExportGeneralSettings"];
			}
			set
			{
				base.Parameters["ExportGeneralSettings"] = value;
			}
		}
		public bool ExportMarketingSettings
		{
			get
			{
				return base.Parameters.Contains("ExportMarketingSettings") && (bool)base.Parameters["ExportMarketingSettings"];
			}
			set
			{
				base.Parameters["ExportMarketingSettings"] = value;
			}
		}
		public bool ExportOutlookSynchronizationSettings
		{
			get
			{
				return base.Parameters.Contains("ExportOutlookSynchronizationSettings") && (bool)base.Parameters["ExportOutlookSynchronizationSettings"];
			}
			set
			{
				base.Parameters["ExportOutlookSynchronizationSettings"] = value;
			}
		}
		public bool ExportRelationshipRoles
		{
			get
			{
				return base.Parameters.Contains("ExportRelationshipRoles") && (bool)base.Parameters["ExportRelationshipRoles"];
			}
			set
			{
				base.Parameters["ExportRelationshipRoles"] = value;
			}
		}
		public bool ExportIsvConfig
		{
			get
			{
				return base.Parameters.Contains("ExportIsvConfig") && (bool)base.Parameters["ExportIsvConfig"];
			}
			set
			{
				base.Parameters["ExportIsvConfig"] = value;
			}
		}
		public ExportSolutionRequest()
		{
			base.RequestName = "ExportSolution";
			this.SolutionName = null;
			this.Managed = false;
		}
	}
}
